package com.corpgovernment.organization.service;

import com.corpgovernment.api.organization.model.org.request.GetOrgConfigBatchRequest;
import com.corpgovernment.api.organization.model.org.request.GetOrgConfigRequest;
import com.corpgovernment.api.organization.model.org.request.SaveOrgConfigRequest;
import com.corpgovernment.api.organization.model.org.response.GetOrgConfigBatchResponse;
import com.corpgovernment.api.organization.model.org.response.GetOrgConfigResponse;

import java.util.List;

/**
 * 组织设置接口
 *
 * @author dlz
 * @since 2023/5/5
 */
public interface IOrgConfigService {
    /**
     * 保存组织设置
     */
    void saveOrgConfig(SaveOrgConfigRequest saveOrgConfigRequest);

    /**
     * 获取组织设置
     */
    GetOrgConfigResponse getOrgConfig(GetOrgConfigRequest getOrgConfigRequest);

    /**
     * 删除组织设置
     *
     * @param orgIds 组织id
     */
    void deleteOrgConfig(List<String> orgIds);

    GetOrgConfigBatchResponse getOrgConfigBatch(GetOrgConfigBatchRequest request);
}
